package com.ibm.test.control.impl;

import com.ibm.test.control.TestCase;
import com.ibm.test.pojo.TestParam;
import com.ibm.test.pojo.TestResult;


public abstract class AbstractTestcase implements TestCase {
	protected TestParam param;
	protected String testcaseId;
	protected String testcaseName;

	public AbstractTestcase(String testcaseId, String testcaseName,
			TestParam param) {
		this.param = param;
		this.testcaseId = testcaseId;
		this.testcaseName = testcaseName;
	}

	@Override
	public String getTestcaseName() {
		return testcaseName;
	}

	@Override
	public String getTestcaseId() {
		return testcaseId;
	}

	@Override
	public abstract TestResult executeTest();

}
